/**
 * CopyRright @2014 SIM TECHNOLOGY ALL RIGHTS RESERVED
 * @Title: RestResponse.java
 * @Package cm.sim.com.core.rest
 * @Description: TODO
 * @author he.sun 
 * @date 2015年3月18日 下午12:14:33
 * @version V1.0
 */

package guoan.Exception;

import org.springframework.http.HttpStatus;

public class CheckDataException extends RuntimeException {

    public HttpStatus status = HttpStatus.OK;

    public CheckDataException(){
    }

    public CheckDataException(HttpStatus status){
        this.status = status;
    }

    public CheckDataException(String message){
        super(message);
    }

    public CheckDataException(HttpStatus status, String message){
        super(message);
        this.status = status;
    }
}
